package com.shop.web;


import com.shop.model.PageParam;
import com.shop.model.dto.ScheduleLog;
import com.shop.model.vo.Rsp;
import com.shop.service.ScheduleLogService;
import lombok.AllArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * (ScheduleLog)表控制层
 *
 * @author makejava
 * @since 2020-11-28 11:42:37
 */
@Validated
@RestController
@AllArgsConstructor
public class ScheduleLogController {
    /**
     * 服务对象
     */
    private final ScheduleLogService scheduleLogService;

    @PostMapping("getScheduleLog")
    public Rsp getScheduleLog(@RequestBody PageParam<ScheduleLog> pageParam){
        return scheduleLogService.getScheduleLog(pageParam);
    }
}
